Using Theme-Compliant Colors and Patterns
The Appearance Manager provides the following functions for working with the drawing state of the current graphics port:
The Appearance Manager provides the following functions for setting the foreground or background of the current graphics port:
-
ApplyThemeBackground
sets the background color or pattern of the current port to be consistent with that of an embedding object.
-
SetThemeBackground
applies a theme-compliant color or pattern to the background of the current port.
-
SetThemePen
applies a theme-compliant color or pattern to the foreground of the current port.
The Appearance Manager provides the following functions for working with text colors:
-
GetThemeTextColor
obtains the text color used for a specified element under the current theme.
-
SetThemeTextColor
sets the current text color to be consistent with that of a specified element.
The Appearance Manager provides the following functions for obtaining theme color information:
© 1999 Apple Computer, Inc. – (Last Updated 29 April 99)